package com.diaohw.module.system.obj.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 部门 DTO
 *
 * @author D-Hw
 * @since 2024-07-05
 */
@Data
@Accessors(chain = true)
@Schema(name = "Department", description = "部门 DTO")
public class DepartmentDto implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 父级ID
     */
    @Schema(description = "父级ID")
    private String parentId;

    /**
     * 部门名称
     */
    @Schema(description = "部门名称")
    private String departmentName;

    /**
     * 状态;0：禁用，1：启用
     */
    @Schema(description = "状态;0：禁用，1：启用")
    private Integer state;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}
